<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			var inputyear=prompt("请您输入年份");
			
			if(inputyear%4==00&&inputyear%100!=0||inputyear%400==00){
				alert("它是闰年");
			}else{
				alert("它不是闰年");
			}
		</script>
	</head>
	<body>
	</body>
</html>
